package com.system.service.impl;


import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.system.mapper.SysLoginMapper;
import com.system.service.ISysLoginService;
import com.system.vo.SysLoginLogVO;

@Service("loginService")
public class SysLoginServiceImpl implements ISysLoginService {
	
	@Resource
	private SysLoginMapper sysloginMapper;

	@Override
	public SysLoginLogVO getLoginLogVo(String staffId){
		return sysloginMapper.getLoginLogVo(staffId);
	}
	
	@Override
	public int addLoginLog(SysLoginLogVO vo) throws Exception{
		return sysloginMapper.addLoginLog(vo);
	}
}
